<?php
class Master_j_pendidikan extends CI_Model 
{

	function __construct()
	{
		parent::__construct();
	}
	
	function read()
	{	
		$query = $this->db->get('m_j_pendidikan');
		return $query->result();
	}
	
	function detail($id_m_j_pendidikan)
	{
		$this->db->select('*');
		$this->db->from('m_j_pendidikan');
		$this->db->where('id_m_j_pendidikan ', $id_m_j_pendidikan);

		$query = $this->db->get();		
		return $query->result();
	}

}